Class {
	#name : 'ClyAllMethodsQueryTest',
	#superclass : 'ClyMethodQueryTest',
	#category : 'Calypso-SystemQueries-Tests-Queries',
	#package : 'Calypso-SystemQueries-Tests',
	#tag : 'Queries'
}

{ #category : 'running' }
ClyAllMethodsQueryTest >> createQuery [
	^ ClyAllMethodsQuery from: ClyClassScope of: Object in: environment
]

{ #category : 'tests' }
ClyAllMethodsQueryTest >> testCheckIfEmpty [
	query scope: (ClyMethodScope
		of: (ClyClass1FromP1Mock >> #tag1Method1) in: environment).
	self deny: query checkEmptyResult
]

{ #category : 'tests' }
ClyAllMethodsQueryTest >> testFromSingleClass [

	self queryFromScope: ClyClassScope of: ClyClass1FromP1Mock.

	self assert: foundSelectors equals: #(#instanceSideVar1ReaderMethod #instanceSideVar1WriterMethod #instanceSideVar2 #superclassTag1Method #tag1Method1)
]
